STEM help / Calculation framework

10.3.33.10 Specifying inputs for shorter time periods

STEM lets you enter sub-annual data if you want to – for example, to examine in detail the crucial early phases of a model – but does not require you to provide such detailed data for other periods. The new period input recognises anything from a year to a sub-annual period such as a quarter or month, through to a fully qualified date (which can be regarded as a one-day period). This new type replaces all the former year inputs, so we now have:

  • periods for Interpolated Series
  • an explicit Base Period for Exponential Growth and Floor and Multiplier inputs
  • Base Period, Period A/B, Birth Period and Death Period for S-Curve inputs
  • Calibration Period for Services and Resources.

The Model Start Date is entered as a period, which can be either a year (implying 1 Jan), or a fully qualified date if you want to model in financial years, e.g., from 5 Apr2001. For any other period input, all of the entries shown in Figure 1 below are valid.

In fact, the Editor is very forgiving, and will accept almost any date separator, e.g., space, hyphen, slash or any other punctuation. The day, month and year of a date are displayed in the order specified in your Windows International date settings; but months are always shown as short names rather than numbers to avoid ambiguity. Similarly, absolute calendar years are shown with four digits to avoid confusion with relative years, which are always prefixed with a ‘Y’.

Entry Interpretation
Y1 first year from Model Start Date
Y2 second year from Model Start Date
2001 calendar year 2001
Q3 third quarter from Model Start Date, i.e., of Y1
Q3 Y2 third quarter of Y2
Q3 2001 third quarter of calendar year 2001
Apr April of Y1
Apr Y2 April of Y2
Apr 2001 April of calendar year 2001
5 Apr 5 April Y1
5 Apr Y2 5 April Y2
5 Apr 2001 5 April 2001
5/4/2001 5 April 2001 or May 4 2001, depending on your Windows International date settings
6/6/1 6 June Y1 or 6 June 2001, depending on a new menu item, Infer Century, on the Options menu in the Editor
6/6/99 6 June Y99 or 6 June 1999, depending on the Infer Century option

Figure 1: Sample Period inputs

Non-standard years

There are some additional considerations for specifying annual and monthly data if you want to use a Model Start Date other than 1 Jan, e.g., when modelling financial years from 5 Apr 2001.

Four-digit year labels have a strong implicit association with the calendar year from 1 Jan to 30 Dec, and so it is common to use a hybrid label such as 2001/02 to refer to a non-standard year. However, this format is not ideal for data recognition, and also requires two numbers. Therefore, the identifier Y2001 is used as shorthand for 2001/02 (i.e., the year from 5 Apr 2001), consistent with the interpretation of relative years Yn (for integers n < 1000), which always run from the Model Start Date. This gives Yn a general (and machine-friendly) interpretation as ‘the model year starting in calendar year n ’.

Note: STEM displays hybrid year labels on outputs such as graphs and tables.

For completeness, if you specifically want to enter data for a relative calendar year, then you can use the prefix ‘C’, e.g., you can enter C1 to denote the calendar year (i.e., the period 1 Jan to 30 Dec) in which the model starts. Thus Cn has a general interpretation as ‘the calendar year in which model year n starts’.

Non-standard months

Labels for quarters, Q1 for example, are interpreted relative to either a model year or a calendar year. In contrast, month names are always interpreted in terms of calendar years. However, if you want to enter monthly data for non-standard years, you can use the labels Mn (for integers n in the range 1-12) to identify the n th period of thirty days in a year. So with a Model Start Date of 5 Apr 2001, the labels M1 and M12 identify the periods 5 Apr to 4 May 2001 and 5 Mar to 4 Apr 2002 respectively.

Note: If you enter labels such as Q5 or M13, these are automatically wrapped to the corresponding period in the next year, i.e., Q1 Y2 or M1 Y2, up to an arbitrary limit of 99, beyond which the input will be treated as an error.

Entry Interpretation (if Model Start Date = 5 Apr 2001)
Y2001 the model year starting in calendar year 2001,
i.e., 5 Apr 2001 to 4 Apr 2002, shown on graphs as 2001/02
C1 the calendar year in which model year one starts,
i.e., 1 Jan 2001 to 30 Dec 2001 (obscure)
Q3 Y2001 the third quarter from 5 Apr 2001, i.e., 5 Oct 2001 to 4 Jan 2002
M4 Y2001 the fourth month from 5 Apr 2001, i.e., 5 Jul 2001 to 4 Aug 2001
Apr Y2001 the April which ends in 2001/02, i.e., Apr 2001 (very obscure)
Mar Y2001 the March which ends in 2001/02, i.e., Mar 2002 (very obscure)

Figure 2: Sample Period inputs for use with non-standard Years

 

© Implied Logic Limited